<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

	<ui:composition template="/index.xhtml">
	
		<ui:define name="norte">
        	<h:form>
        			<p:menubar>	        							
						<p:menuitem value="Home" action="#{authenticator.logout}" />
						<p:menuitem value="Nosso Clube" action="#{galeriaBean.site}" />
						<p:menuitem value="menu 03" url="#" />
						<p:menuitem value="Menu 04" url="#"/>
						<p:menuitem value="Logout" action="#{authenticator.logout}"/>
						<p:menuitem value="Logado 1" url="#"/>
						<p:menuitem value="Logado 2" url="#"/>																 
					</p:menubar>
					</h:form>
		</ui:define>	
		
		<ui:define name="centro">
			<img src="../imagens/Montagem01.jpg" alt="Smiley face" height="100%" width="100%"/>
		</ui:define>	
		
		<ui:define name="direita">
			<br/>
			<br/>
			<p:calendar value="#{calendarBean.date1}" mode="inline" id="inlineCal"/>  
			<br/>
			<br/>
			<h:outputText value="Usuario Logado.: " />
			<h:outputText value="#{authenticator.getSession().getUser().getUsername()}" />
			<br/>
			<br/>
			<p:gmap center="41.381542, 2.122893" zoom="15" type="ROADMAP" style="width:160px;height:140px" /> 
		</ui:define>
		
	</ui:composition> 
		
</html>